From: Florian Müllner Date: Tue, 13 Sep 2022 15:18:26 +0000 (+0200) Subject: status/system: Mark 'Power Off' menu header for translation X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~446^2^2~22 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=ebaf9aa4c5cc2ab66ab143d075207050078d0e1b;p=gnome-shell.git status/system: Mark 'Power Off' menu header for translation This was missed when the menu was added as part of quick settings. Luckily we can re-use the msg-id/context from the shutdown dialog, so the change is not subject to the string freeze. https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/5862 Part-of: --- diff --git a/js/ui/status/system.js b/js/ui/status/system.js index 05527bf11..25d4c1e9c 100644 --- a/js/ui/status/system.js +++ b/js/ui/status/system.js @@ -164,7 +164,7 @@ class ShutdownItem extends QuickSettingsItem { this._systemActions = new SystemActions.getDefault(); this._items = []; - this.menu.setHeader('system-shutdown-symbolic', 'Power Off'); + this.menu.setHeader('system-shutdown-symbolic', C_('title', 'Power Off')); this._addSystemAction(_('Suspend'), 'can-suspend', () => { this._systemActions.activateSuspend();